package com.samg.learning.service.impl;

import com.samg.learning.service.HelloService;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

public class HelloServiceImpl extends UnicastRemoteObject implements HelloService {
    private static final long serialVersionUID = -33049035751522836L;

    public HelloServiceImpl() throws RemoteException {
        super();
    }

    public String sayHello(String someone) throws RemoteException {
        return "Hello," + someone;
    }
}
